<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos  -->
			<title>Docs For Class DomDateTime</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
						<script src="../media/lib/classTree.js"></script>
												<script language="javascript" type="text/javascript">
				var imgPlus = new Image();
				var imgMinus = new Image();
				imgPlus.src = "../media/images/plus.png";
				imgMinus.src = "../media/images/minus.png";
				
				function showNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgMinus.src;
					oTable.style.display = "block";
				}
				
				function hideNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgPlus.src;
					oTable.style.display = "none";
				}
				
				function nodeIsVisible(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
									break;
							}
					return (oTable && oTable.style.display == "block");
				}
				
				function toggleNodeVisibility(Node){
					if (nodeIsVisible(Node)){
						hideNode(Node);
					}else{
						showNode(Node);
					}
				}
			</script>
					</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../media/images/Class_logo.png"
														alt=" Class"
														title=" Class"
														style="vertical-align: middle"> DomDateTime</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
							<a href="#sec-descendents">Descendents</a>
			|													<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">author:</span> Oliver Leisalu</li>
				<li><span class="field">filesource:</span> <a href="../__filesource/fsource_DomDateTime__libsDomDateTimeDomDateTime.class.php.html">Source Code for this file</a></li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_libs---DomDateTime---DomDateTime.class.php.html">/libs/DomDateTime/DomDateTime.class.php</a> (line <span class="field"><a href="../__filesource/fsource_DomDateTime__libsDomDateTimeDomDateTime.class.php.html#a6">6</a></span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>

	<a name="sec-descendents"></a>
	<div class="info-box">
		<div class="info-box-title">Direct descendents</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
			<span class="disabled">Descendents</span>
			|															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<table cellpadding="2" cellspacing="0" class="class-table">
				<tr>
					<th class="class-table-header">Class</th>
					<th class="class-table-header">Description</th>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../DomDateTime/DomAr_DateTime.html">DomAr_DateTime</a>
					</td>
					<td>
											
										</td>
				</tr>
							</table>
		</div>
	</div>



	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendants</a> |
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																											
				<div class="method-definition">
					<img src="../media/images/StaticMethod.png" alt=" "/>
					static 						<span class="method-result">void</span>
										<a href="#c" title="details" class="method-name">c</a>
											([<span class="var-type">Mixed</span>&nbsp;<span class="var-name">$stamp</span> = <span class="var-default">'now'</span>])
									</div>
																																																																																																																																			
				<div class="method-definition">
					<img src="../media/images/Constructor.png" alt=" "/>
											<span class="method-result">DomDateTime</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											([<span class="var-type">Mixed</span>&nbsp;<span class="var-name">$stamp</span> = <span class="var-default">'now'</span>])
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#add" title="details" class="method-name">add</a>
											(<span class="var-type">unknown_type</span>&nbsp;<span class="var-name">$var</span>)
									</div>
																							
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">String</span>
										<a href="#date" title="details" class="method-name">date</a>
											([<span class="var-type">String</span>&nbsp;<span class="var-name">$format</span> = <span class="var-default">NULL</span>])
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">String</span>
										<a href="#getDayName" title="details" class="method-name">getDayName</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../DomDateTime/DomDateTime.html">DomDateTime</a></span>
										<a href="#getMonthFirstDay" title="details" class="method-name">getMonthFirstDay</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../DomDateTime/DomDateTime.html">DomDateTime</a></span>
										<a href="#getMonthLastDay" title="details" class="method-name">getMonthLastDay</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">String</span>
										<a href="#getMonthName" title="details" class="method-name">getMonthName</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../DomDateTime/DomDateTimePeriod.html">DomDateTimePeriod</a></span>
										<a href="#getMonthPeriod" title="details" class="method-name">getMonthPeriod</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">Int</span>
										<a href="#getStamp" title="details" class="method-name">getStamp</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">Bool</span>
										<a href="#in" title="details" class="method-name">in</a>
											(<span class="var-type">String</span>&nbsp;<span class="var-name">$var</span>, [<span class="var-type">String</span>&nbsp;<span class="var-name">$compareFormat</span> = <span class="var-default">'Ymd'</span>])
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">Bool</span>
										<a href="#is" title="details" class="method-name">is</a>
											(<span class="var-type">String</span>&nbsp;<span class="var-name">$var</span>, [<span class="var-type">String</span>&nbsp;<span class="var-name">$compareFormat</span> = <span class="var-default">'Ymd'</span>])
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#isNull" title="details" class="method-name">isNull</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../DomDateTime/DomDateTime.html">DomDateTime</a></span>
										<a href="#mktime" title="details" class="method-name">mktime</a>
											([<span class="var-type">Int</span>&nbsp;<span class="var-name">$year</span> = <span class="var-default">NULL</span>], [<span class="var-type">Int</span>&nbsp;<span class="var-name">$month</span> = <span class="var-default">NULL</span>], [<span class="var-type">Int</span>&nbsp;<span class="var-name">$day</span> = <span class="var-default">NULL</span>], [<span class="var-type">Int</span>&nbsp;<span class="var-name">$hour</span> = <span class="var-default">NULL</span>], [<span class="var-type">Int</span>&nbsp;<span class="var-name">$minute</span> = <span class="var-default">NULL</span>], [<span class="var-type">Int</span>&nbsp;<span class="var-name">$second</span> = <span class="var-default">NULL</span>])
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#set" title="details" class="method-name">set</a>
											(<span class="var-type">Mixed</span>&nbsp;<span class="var-name">$stamp</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setDefaultFormat" title="details" class="method-name">setDefaultFormat</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$format</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">String</span>
										<a href="#__toString" title="details" class="method-name">__toString</a>
										()
									</div>
											</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
																<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodc" id="c"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/StaticMethod.png" />
		<span class="method-title">static c</span> (line <span class="line-number"><a href="../__filesource/fsource_DomDateTime__libsDomDateTimeDomDateTime.class.php.html#a15">15</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">void</span>
		<span class="method-name">
			c
		</span>
					([<span class="var-type">Mixed</span>&nbsp;<span class="var-name">$stamp</span> = <span class="var-default">'now'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">Mixed</span>
				<span class="var-name">$stamp</span><span class="var-description">: Unix timestamp or datetime accepted to strtotime. Default is now.</span>			</li>
				</ul>
		
			
	</div>
<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Constructor.png" />
		<span class="method-title">Constructor __construct</span> (line <span class="line-number"><a href="../__filesource/fsource_DomDateTime__libsDomDateTimeDomDateTime.class.php.html#a21">21</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">DomDateTime</span>
		<span class="method-name">
			__construct
		</span>
					([<span class="var-type">Mixed</span>&nbsp;<span class="var-name">$stamp</span> = <span class="var-default">'now'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">Mixed</span>
				<span class="var-name">$stamp</span><span class="var-description">: Unix timestamp or datetime accepted to strtotime. Default is now.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodadd" id="add"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">add</span> (line <span class="line-number"><a href="../__filesource/fsource_DomDateTime__libsDomDateTimeDomDateTime.class.php.html#a194">194</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Adds time to current stamp. Accepts anything accepted by strtotime  If you add date (like 2009-10-10), difference is taken from now to that date and this difference is added.</p>
<p class="description"><p>$date-&gt;add('+1 day');  $date-&gt;add('+48 hours');</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			add
		</span>
					(<span class="var-type">unknown_type</span>&nbsp;<span class="var-name">$var</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">unknown_type</span>
				<span class="var-name">$var</span>			</li>
				</ul>
		
			
	</div>
<a name="methoddate" id="date"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">date</span> (line <span class="line-number"><a href="../__filesource/fsource_DomDateTime__libsDomDateTimeDomDateTime.class.php.html#a47">47</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">String</span>
		<span class="method-name">
			date
		</span>
					([<span class="var-type">String</span>&nbsp;<span class="var-name">$format</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">String</span>
				<span class="var-name">$format</span><span class="var-description">: Anything accepted to function date</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetDayName" id="getDayName"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getDayName</span> (line <span class="line-number"><a href="../__filesource/fsource_DomDateTime__libsDomDateTimeDomDateTime.class.php.html#a208">208</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">String</span>
		<span class="method-name">
			getDayName
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetMonthFirstDay" id="getMonthFirstDay"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getMonthFirstDay</span> (line <span class="line-number"><a href="../__filesource/fsource_DomDateTime__libsDomDateTimeDomDateTime.class.php.html#a83">83</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DomDateTime/DomDateTime.html">DomDateTime</a></span>
		<span class="method-name">
			getMonthFirstDay
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetMonthLastDay" id="getMonthLastDay"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getMonthLastDay</span> (line <span class="line-number"><a href="../__filesource/fsource_DomDateTime__libsDomDateTimeDomDateTime.class.php.html#a89">89</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DomDateTime/DomDateTime.html">DomDateTime</a></span>
		<span class="method-name">
			getMonthLastDay
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetMonthName" id="getMonthName"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getMonthName</span> (line <span class="line-number"><a href="../__filesource/fsource_DomDateTime__libsDomDateTimeDomDateTime.class.php.html#a201">201</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">String</span>
		<span class="method-name">
			getMonthName
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetMonthPeriod" id="getMonthPeriod"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getMonthPeriod</span> (line <span class="line-number"><a href="../__filesource/fsource_DomDateTime__libsDomDateTimeDomDateTime.class.php.html#a95">95</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DomDateTime/DomDateTimePeriod.html">DomDateTimePeriod</a></span>
		<span class="method-name">
			getMonthPeriod
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetStamp" id="getStamp"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getStamp</span> (line <span class="line-number"><a href="../__filesource/fsource_DomDateTime__libsDomDateTimeDomDateTime.class.php.html#a216">216</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Int</span>
		<span class="method-name">
			getStamp
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodin" id="in"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">in</span> (line <span class="line-number"><a href="../__filesource/fsource_DomDateTime__libsDomDateTimeDomDateTime.class.php.html#a116">116</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Samples:</p>
<p class="description"><p>$dateTime-&gt;in('future);  $dateTime-&gt;in('past');</p><p>$dateTime-&gt;in('-1 day'); // today or yesterday  $dateTime-&gt;in('now'); // today  $dateTime-&gt;in('+1 day'); // today or tomorrow</p><p>$dateTime-&gt;is('-4 days'); // is within 4 days before now  $dateTime-&gt;is('+4 days'); // is within 4 days from now</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Bool</span>
		<span class="method-name">
			in
		</span>
					(<span class="var-type">String</span>&nbsp;<span class="var-name">$var</span>, [<span class="var-type">String</span>&nbsp;<span class="var-name">$compareFormat</span> = <span class="var-default">'Ymd'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">String</span>
				<span class="var-name">$var</span>			</li>
					<li>
				<span class="var-type">String</span>
				<span class="var-name">$compareFormat</span><span class="var-description">: Value acceptable to date function. Default is Ymd. Notice that format result must be numberic</span>			</li>
				</ul>
		
			
	</div>
<a name="methodis" id="is"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">is</span> (line <span class="line-number"><a href="../__filesource/fsource_DomDateTime__libsDomDateTimeDomDateTime.class.php.html#a161">161</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Samples:</p>
<p class="description"><p>$dateTime-&gt;is('today);  $dateTime-&gt;is('tomorrow');  $dateTime-&gt;is('yesterday);  $dateTime-&gt;is('workday);</p><p>$dateTime-&gt;is('-1 day'); // same as yesterday  $dateTime-&gt;is('now'); // same as today  $dateTime-&gt;is('+1 day'); // same as tomorrow</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Bool</span>
		<span class="method-name">
			is
		</span>
					(<span class="var-type">String</span>&nbsp;<span class="var-name">$var</span>, [<span class="var-type">String</span>&nbsp;<span class="var-name">$compareFormat</span> = <span class="var-default">'Ymd'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">String</span>
				<span class="var-name">$var</span>			</li>
					<li>
				<span class="var-type">String</span>
				<span class="var-name">$compareFormat</span><span class="var-description">: Value acceptable to date function. Default is Ymd. Notice that format result must be numberic</span>			</li>
				</ul>
		
			
	</div>
<a name="methodisNull" id="isNull"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">isNull</span> (line <span class="line-number"><a href="../__filesource/fsource_DomDateTime__libsDomDateTimeDomDateTime.class.php.html#a39">39</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			isNull
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodmktime" id="mktime"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">mktime</span> (line <span class="line-number"><a href="../__filesource/fsource_DomDateTime__libsDomDateTimeDomDateTime.class.php.html#a70">70</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Make time from current datetime. If any input is NULL, then it is replaces with current datetime matching value.</p>
<p class="description"><p>$datetime = new DomDateTime('2008-10-10 10:12:44');  echo $datetime-&gt;mktime(NULL,NULL,NULL,0,0,0)-&gt;date(); // 2008-10-10 00:00:00</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DomDateTime/DomDateTime.html">DomDateTime</a></span>
		<span class="method-name">
			mktime
		</span>
					([<span class="var-type">Int</span>&nbsp;<span class="var-name">$year</span> = <span class="var-default">NULL</span>], [<span class="var-type">Int</span>&nbsp;<span class="var-name">$month</span> = <span class="var-default">NULL</span>], [<span class="var-type">Int</span>&nbsp;<span class="var-name">$day</span> = <span class="var-default">NULL</span>], [<span class="var-type">Int</span>&nbsp;<span class="var-name">$hour</span> = <span class="var-default">NULL</span>], [<span class="var-type">Int</span>&nbsp;<span class="var-name">$minute</span> = <span class="var-default">NULL</span>], [<span class="var-type">Int</span>&nbsp;<span class="var-name">$second</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">Int</span>
				<span class="var-name">$year</span>			</li>
					<li>
				<span class="var-type">Int</span>
				<span class="var-name">$month</span>			</li>
					<li>
				<span class="var-type">Int</span>
				<span class="var-name">$day</span>			</li>
					<li>
				<span class="var-type">Int</span>
				<span class="var-name">$hour</span>			</li>
					<li>
				<span class="var-type">Int</span>
				<span class="var-name">$minute</span>			</li>
					<li>
				<span class="var-type">Int</span>
				<span class="var-name">$second</span>			</li>
				</ul>
		
			
	</div>
<a name="methodset" id="set"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">set</span> (line <span class="line-number"><a href="../__filesource/fsource_DomDateTime__libsDomDateTimeDomDateTime.class.php.html#a27">27</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			set
		</span>
					(<span class="var-type">Mixed</span>&nbsp;<span class="var-name">$stamp</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">Mixed</span>
				<span class="var-name">$stamp</span><span class="var-description">: Unix timestamp or datetime accepted to strtotime. Default is now.</span>			</li>
				</ul>
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../DomDateTime/DomAr_DateTime.html#methodset">DomAr_DateTime::set()</a>
							</li>
				</ul>
	</div>
<a name="methodsetDefaultFormat" id="setDefaultFormat"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setDefaultFormat</span> (line <span class="line-number"><a href="../__filesource/fsource_DomDateTime__libsDomDateTimeDomDateTime.class.php.html#a35">35</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setDefaultFormat
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$format</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$format</span>			</li>
				</ul>
		
			
	</div>
<a name="method__toString" id="__toString"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">__toString</span> (line <span class="line-number"><a href="../__filesource/fsource_DomDateTime__libsDomDateTimeDomDateTime.class.php.html#a223">223</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">String</span>
		<span class="method-name">
			__toString
		</span>
				()
			</div>
	
		
			
	</div>
						
		</div>
	</div>

	
	<p class="notes" id="credit">
		Documentation generated on Fri, 24 Sep 2010 21:13:24 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
	</p>
	</div></body>
</html>